package com.yunqiao.service.api.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 退押金申请
 *
 * @author Crocutax
 * @email wangxw725@163.com
 * @date 2019-03-15 14:07:30
 */
@TableName("tb_user_deposit")
@Data
@ApiModel(value = "退押金申请对象")
public class UserDepositEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId
    @ApiModelProperty(value = "")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    /**
     *
     */
    @ApiModelProperty(value = "")
    private Long userId;
    /**
     * 1:申请中，2：已通过，3：已拒绝
     */
    @ApiModelProperty(value = "1:申请中，2：已通过，3：已拒绝")
    private Integer status;
    /**
     *  拒绝原因
     */
    @ApiModelProperty(value = "拒绝原因")
    private String reason;
    /**
     *
     */
    @ApiModelProperty(value = "")
    private Date createTime;
    /**
     *
     */
    @ApiModelProperty(value = "")
    private Date updateTime;
    /**
     *
     */
    @TableLogic
    @JsonIgnore
    @ApiModelProperty(value = "",hidden = true)
    private Integer deleted;

}
